package model.contract;

import java.sql.Timestamp;


/**
 * Loangrantrecord entity. @author MyEclipse Persistence Tools
 */

public class Loangrantrecord  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Integer loanid;
     private Integer contractid;
     private Integer grantnum;
     private Timestamp grantdate;
     private Timestamp refunddate;
     private Timestamp repaydate;
     private Timestamp printdate;
     private Double grantmoney;
     private Double balance;
     private Integer custombankid;
     private Integer type;
     private Integer state;
     private Long userid;


    // Constructors

    /** default constructor */
    public Loangrantrecord() {
    }

    
    /** full constructor */
    public Loangrantrecord(Integer loanid, Integer contractid, Integer grantnum, Timestamp grantdate, Timestamp refunddate, Timestamp repaydate, Timestamp printdate, Double grantmoney, Double balance, Integer custombankid, Integer type,Integer state,Long userid) {
        this.loanid = loanid;
        this.contractid = contractid;
        this.grantnum = grantnum;
        this.grantdate = grantdate;
        this.refunddate = refunddate;
        this.repaydate = repaydate;
        this.printdate = printdate;
        this.grantmoney = grantmoney;
        this.balance = balance;
        this.type=type;
        this.state = state;
        this.custombankid=custombankid;
        this.userid=userid;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getLoanid() {
        return this.loanid;
    }
    
    public void setLoanid(Integer loanid) {
        this.loanid = loanid;
    }

    public Integer getContractid() {
        return this.contractid;
    }
    
    public void setContractid(Integer contractid) {
        this.contractid = contractid;
    }

    public Integer getGrantnum() {
        return this.grantnum;
    }
    
    public void setGrantnum(Integer grantnum) {
        this.grantnum = grantnum;
    }

    public Timestamp getGrantdate() {
        return this.grantdate;
    }
    
    public void setGrantdate(Timestamp grantdate) {
        this.grantdate = grantdate;
    }

    public Timestamp getRefunddate() {
        return this.refunddate;
    }
    
    public void setRefunddate(Timestamp refunddate) {
        this.refunddate = refunddate;
    }

    public Timestamp getRepaydate() {
        return this.repaydate;
    }
    
    public void setRepaydate(Timestamp repaydate) {
        this.repaydate = repaydate;
    }

    public Timestamp getPrintdate() {
        return this.printdate;
    }
    
    public void setPrintdate(Timestamp printdate) {
        this.printdate = printdate;
    }

    public Double getGrantmoney() {
        return this.grantmoney;
    }
    
    public void setGrantmoney(Double grantmoney) {
        this.grantmoney = grantmoney;
    }

    public Double getBalance() {
        return this.balance;
    }
    
    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Integer getState() {
        return this.state;
    }
    
    public void setState(Integer state) {
        this.state = state;
    }


	public Integer getType() {
		return type;
	}


	public void setType(Integer type) {
		this.type = type;
	}


	public Integer getCustombankid() {
		return custombankid;
	}


	public void setCustombankid(Integer custombankid) {
		this.custombankid = custombankid;
	}


	public Long getUserid() {
		return userid;
	}


	public void setUserid(Long userid) {
		this.userid = userid;
	}
   








}